#ifndef TILES_H_
#define TILES_H_
/*
 * tiles.h
 *
 *  Created on: Mar 26, 2013
 *      Author: drewlewis
 */

#include "Global.h"
#include <chemistry/molecule/molecule.h>
#include <chemistry/qc/basis/integral.h>
#include "tiled_array.h"

namespace TA = TiledArray;

void make_eigen_two_center(sc::Ref<sc::TwoBodyTwoCenterInt> Integral,
                           Matrix &e_mat);

void import_to_TA(madness::World &world, ARRAY2 &array,
                  const Matrix &eig_mat);

void import_to_TA(madness::World &world, ARRAY2 &array,
             const sc::Ref<sc::SymmSCMatrix> &mpqc_mat);

void export_from_TA(madness::World &world, const ARRAY2 &array,
                  Matrix &eigen_mat);

TA::Array<double, 2>::value_type
Eigen_to_TA(TA::Range const &range, const Matrix* Eigen_D);
#endif /* TILES_H_ */
